package com.bioroadlab.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.bioroadlab.pojo.Patient;

@Service
public class PatientService extends BaseService {
	public List<Patient> findAll() {
		return getPatientDao().findAll();
	}

	public List<Patient> findAllByName(String term) {
		return getPatientDao().findByName(term);

	}

	public void save(Patient patient) {
		getPatientDao().save(patient);
	}

}
